package com.atguigu.mybatis.mapper;

import com.atguigu.mybatis.pojo.Emp;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DynamicMapper {

    /*
    多条件查询
     */
    List<Emp> getEmpByConditions(Emp emp);

    List<Emp> getEmpByChoose(Emp emp);

    int deleteByArray(@Param("eids") int[] eids);

    int insertByList(@Param("emps") List<Emp> emps);
}
